div.bigbox p {
    margin: 0;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%, 0)
}

div.smallbox {
    height: 10%;
    width: 100%;
    color: white;
    background-color: blue;
    position: relative;
}
div.smallbox h1 {
    margin: 0;
    font-size: 18pt;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

body {
    margin: 0;
}
